﻿/// <reference path="../GeneratedArtifacts/viewModel.js" />

myapp.JQueryAndNonJQuery.TextBoxes_render = function (element, contentItem) {
    var $element = $(element);

    var $textbox1 = $('<input type="text" value="Normal Text Box" data-role="none"/>');
    var $textbox2 = $('<input type="text" value="JQuery Text Box"/>');

    $element.append($textbox1);
    $element.append($textbox2);
};

myapp.JQueryAndNonJQuery.Buttons_render = function (element, contentItem) {
    var $element = $(element);

    var $button1 = $('<input type="button" value="Normal Button" data-role="none"/>');
    var $button2 = $('<input type="button" value="JQuery Button" />');

    $element.append($button1);
    $element.append($button2);
};